package com.jason.practice.response;

import lombok.AllArgsConstructor;
import lombok.Getter;

@AllArgsConstructor
@Getter
public enum ErrorCodeEnum implements ErrorCode {

    OK(200, ""),


    QUERY_ORDER_PHONE_IS_NOT_NULL(20000, "查询订单的手机号不能为空"),
    ;


    /**
     * 类型
     */
    private final Integer code;

    /**
     * 报错信息
     */
    private final String message;

}